<% if (hasMessages) { %>
  <div style="float: left; margin-bottom: 20px; padding: 10px; width: 100%;" class="ui-state-highlight ui-corner-all">  	
    <% messages().forEach(function(msg){ %>
      <span class="ui-icon ui-icon-info" style="float: left; margin-right: .7em;"></span><%- msg %><br/>
    <% }) %>
  </div>
  <div style="clear: both;"/>
<% } %>